package com.example.orderserver.params;

import com.example.userserver.params.BasePageParams;
import com.github.pagehelper.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "PageOrderParams", parent = BasePageParams.class, description = "订单分页查询")
public class PageOrderParams extends BasePageParams implements IPage {
    @ApiModelProperty(value="商品标题", example = "Java基础入门")
    private String title;
    @ApiModelProperty(value="卖家id", example = "1")
    private String sellId;
    @ApiModelProperty(value="买家id", example = "1")
    private String buyId;
    @ApiModelProperty(value="选择出售订单或购买订单（0.全部1.购买2.出售", example = "1")
    private int type;
    @ApiModelProperty(value="订单状态", example = "1")
    private int status;
    @ApiModelProperty(value="交易方式", example = "1")
    private int method;
}
